<template>
  <div>
    <!--type:edit 配合name&tel进行使用-->
    <!--type:add  配合add-text进行使用-->
    <van-contact-card
      @click="clickFn"
      type="edit"
      name="damu"
      tel="110"
      add-text="add"></van-contact-card>
  </div>
</template>

<script>
  import { ContactCard } from 'vant';
  export default {
    name: 'HelloWorld',
    components:{
      [ContactCard.name]:ContactCard
    },
    methods:{
      clickFn(){
        console.log("clickFn")
      }
    }
  }
</script>

<style scoped>

</style>




